home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2001 May / may_2001.iso / intercd / root / Multimedia / Image / ^iShell / setup.exe / Main / ToolsText.k < prev    next >
Encoding:
Text File  |  2001-03-26  |  7.4 KB  |  160 lines

  1. module oTextPlugin is cPlugin
  2. has
  3.     release Editor:
  4.         GetIO()
  5.             do
  6.                 result := oIOTextPlugin;
  7.             end;
  8.     end;
  9. end;
  10.  
  11. release Editor:
  12.  
  13. object oIOTextLabel is "Text";
  14.  
  15. object oIOTextPlugin is cIOPlugin
  16. with
  17.     AboutDialog is cUIAboutPluginDialog
  18.     with
  19.         HelpURL is "Modules/Text.htm";
  20.         Label is oIOTextLabel;
  21.         Text is "Field and Text elements, event and commands.";
  22.     end;
  23.     MenuItems is [
  24.         cIOArgumentInMenuItem with Name is "Hot Text"; Value is oHotTextArgumentIn; end,
  25.  
  26.         cIOAttributeGetterMenuItem with Name is "Alignment"; Value is oAlignmentAttributeGetter; end,
  27.         cIOAttributeGetterMenuItem with Name is "Antialias"; Value is oAntialiasedAttributeGetter; end,
  28.         cIOAttributeGetterMenuItem with Name is "Background %"; Value is oBackgroundOpAttributeGetter; end,
  29.         cIOAttributeGetterMenuItem with Name is "Background Blue"; Value is oBackgroundBlueAttributeGetter; end,
  30.         cIOAttributeGetterMenuItem with Name is "Background Green"; Value is oBackgroundGreenAttributeGetter; end,
  31.         cIOAttributeGetterMenuItem with Name is "Background Red"; Value is oBackgroundRedAttributeGetter; end,
  32.         cIOAttributeGetterMenuItem with Name is "Bold"; Value is oBoldAttributeGetter; end,
  33.         cIOAttributeGetterMenuItem with Name is "Mode"; Value is oTextModeAttributeGetter; end,
  34.         cIOAttributeGetterMenuItem with Name is "Font Name"; Value is oFontNameAttributeGetter; end,
  35.         cIOAttributeGetterMenuItem with Name is "Font Size"; Value is oFontSizeAttributeGetter; end,
  36.         cIOAttributeGetterMenuItem with Name is "Italic"; Value is oItalicAttributeGetter; end,
  37.         cIOAttributeGetterMenuItem with Name is "Kerning"; Value is oKerningAttributeGetter; end,
  38.         cIOAttributeGetterMenuItem with Name is "Margin Bottom"; Value is oBottomMarginAttributeGetter; end,
  39.         cIOAttributeGetterMenuItem with Name is "Margin Left"; Value is oLeftMarginAttributeGetter; end,
  40.         cIOAttributeGetterMenuItem with Name is "Margin Right"; Value is oRightMarginAttributeGetter; end,
  41.         cIOAttributeGetterMenuItem with Name is "Margin Top"; Value is oTopMarginAttributeGetter; end,
  42.         cIOAttributeGetterMenuItem with Name is "Scale X"; Value is oScaleWidthAttributeGetter; end,
  43.         cIOAttributeGetterMenuItem with Name is "Scale Y"; Value is oScaleHeightAttributeGetter; end,
  44.         cIOAttributeGetterMenuItem with Name is "Selection %"; Value is oSelectionOpAttributeGetter; end,
  45.         cIOAttributeGetterMenuItem with Name is "Selection Blue"; Value is oSelectionBlueAttributeGetter; end,
  46.         cIOAttributeGetterMenuItem with Name is "Selection Green"; Value is oSelectionGreenAttributeGetter; end,
  47.         cIOAttributeGetterMenuItem with Name is "Selection Red"; Value is oSelectionRedAttributeGetter; end,
  48.         cIOAttributeGetterMenuItem with Name is "Spacing"; Value is oSpacingAttributeGetter; end,
  49.         cIOAttributeGetterMenuItem with Name is "Text"; Value is oTextAttributeGetter; end,
  50.         cIOAttributeGetterMenuItem with Name is "Text Blue"; Value is oFontBlueAttributeGetter; end,
  51.         cIOAttributeGetterMenuItem with Name is "Text Green"; Value is oFontGreenAttributeGetter; end,
  52.         cIOAttributeGetterMenuItem with Name is "Text Red"; Value is oFontRedAttributeGetter; end,
  53.         cIOAttributeGetterMenuItem with Name is "Underline"; Value is oUnderlineAttributeGetter; end,
  54.  
  55.         cIOAttributeSetterMenuItem with Name is "Alignment"; Value is oAlignmentAttributeSetter; end,
  56.         cIOAttributeSetterMenuItem with Name is "Antialias"; Value is oAntialiasedAttributeSetter; end,
  57.         cIOAttributeSetterMenuItem with Name is "Background %"; Value is oBackgroundOpAttributeSetter; end,
  58.         cIOAttributeSetterMenuItem with Name is "Background Blue"; Value is oBackgroundBlueAttributeSetter; end,
  59.         cIOAttributeSetterMenuItem with Name is "Background Green"; Value is oBackgroundGreenAttributeSetter; end,
  60.         cIOAttributeSetterMenuItem with Name is "Background Red"; Value is oBackgroundRedAttributeSetter; end,
  61.         cIOAttributeSetterMenuItem with Name is "Bold"; Value is oBoldAttributeSetter; end,
  62.         cIOAttributeSetterMenuItem with Name is "Mode"; Value is oTextModeAttributeSetter; end,
  63.         cIOAttributeSetterMenuItem with Name is "Font Name"; Value is oFontNameAttributeSetter; end,
  64.         cIOAttributeSetterMenuItem with Name is "Font Size"; Value is oFontSizeAttributeSetter; end,
  65.         cIOAttributeSetterMenuItem with Name is "Italic"; Value is oItalicAttributeSetter; end,
  66.         cIOAttributeSetterMenuItem with Name is "Kerning"; Value is oKerningAttributeSetter; end,
  67.         cIOAttributeSetterMenuItem with Name is "Margin Bottom"; Value is oBottomMarginAttributeSetter; end,
  68.         cIOAttributeSetterMenuItem with Name is "Margin Left"; Value is oLeftMarginAttributeSetter; end,
  69.         cIOAttributeSetterMenuItem with Name is "Margin Right"; Value is oRightMarginAttributeSetter; end,
  70.         cIOAttributeSetterMenuItem with Name is "Margin Top"; Value is oTopMarginAttributeSetter; end,
  71.         cIOAttributeSetterMenuItem with Name is "Scale X"; Value is oScaleWidthAttributeSetter; end,
  72.         cIOAttributeSetterMenuItem with Name is "Scale Y"; Value is oScaleHeightAttributeSetter; end,
  73.         cIOAttributeSetterMenuItem with Name is "Selection %"; Value is oSelectionOpAttributeSetter; end,
  74.         cIOAttributeSetterMenuItem with Name is "Selection Blue"; Value is oSelectionBlueAttributeSetter; end,
  75.         cIOAttributeSetterMenuItem with Name is "Selection Green"; Value is oSelectionGreenAttributeSetter; end,
  76.         cIOAttributeSetterMenuItem with Name is "Selection Red"; Value is oSelectionRedAttributeSetter; end,
  77.         cIOAttributeSetterMenuItem with Name is "Spacing"; Value is oSpacingAttributeSetter; end,
  78.         cIOAttributeSetterMenuItem with Name is "Text"; Value is oTextAttributeSetter; end,
  79.         cIOAttributeSetterMenuItem with Name is "Text Blue"; Value is oFontBlueAttributeSetter; end,
  80.         cIOAttributeSetterMenuItem with Name is "Text Green"; Value is oFontGreenAttributeSetter; end,
  81.         cIOAttributeSetterMenuItem with Name is "Text Red"; Value is oFontRedAttributeSetter; end,
  82.         cIOAttributeSetterMenuItem with Name is "Underline"; Value is oUnderlineAttributeSetter; end,
  83.         
  84.         cIOValueTypeMenuItem 
  85.         with 
  86.             Name is "Alignment"; 
  87.             Value is cAlignment; 
  88.             Word is cIOMenuButton 
  89.             with 
  90.                 Field is Value; 
  91.                 TextArray is ["Center", "Flush Left", "Flush Right", "Justify"]; 
  92.                 ValueArray is [oCenterAlignment, oFlushLeftAlignment, oFlushRightAlignment, oJustifyAlignment]; 
  93.                 Width is 10; 
  94.             end;
  95.         end,
  96.         cIOValueTypeMenuItem 
  97.         with 
  98.             Name is "Mode"; 
  99.             Value is cTextMode; 
  100.             Word is cIOMenuButton 
  101.             with 
  102.                 Field is Value; 
  103.                 TextArray is [ "Editable", "Selectable", "Label" ]; 
  104.                 ValueArray is [ oTextModeEditable, oTextModeSelectable, oTextModeStatic ]; 
  105.                 Width is 10; 
  106.             end;
  107.         end
  108.     ];
  109.     ToolLines is [
  110.         cIOToolListLine 
  111.         with 
  112.             Expanded is true;
  113.             Label is oIOCreateLabel;
  114.             Lines is [
  115.                 cIOToolLine
  116.                 with
  117.                     Label is "Field";
  118.                     Words is [
  119.                         oFieldCreator
  120.                     ];
  121.                 end
  122.             ];
  123.         end
  124.     ];
  125.     ElementLines is [
  126.         cIOSeedListLine 
  127.         with 
  128.             Label is oIOModelLabel;
  129.             Lines is [
  130.                 cIOSeedLine with IO is oIOField; end,
  131.                 cIOSeedLine with IO is oIORTFText; end
  132.             ];
  133.         end
  134.     ];
  135.     EventLines is [
  136.         cIOSeedListLine 
  137.         with 
  138.             Label is oIOModelLabel;
  139.             Lines is [
  140.                 cIOSeedLine with IO is oIOHotTextEvent; end
  141.             ];
  142.         end
  143.     ];
  144.     CommandLines is [
  145.         cIOSeedListLine 
  146.         with 
  147.             Label is oIOModelLabel;
  148.             Lines is [
  149.                 cIOSeedLine with IO is oIOFieldCommand; end,
  150.                 cIOSeedLine with IO is oIORTFTextCommand; end
  151.             ];
  152.         end
  153.     ];
  154.     Openers is [
  155.         oRTFTextOpener
  156.     ];
  157. end;
  158.  
  159. end;
  160.